home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJLSR106.ARJ / NEW.CC < prev    next >
C/C++ Source or Header  |  1992-03-24  |  1KB  |  35 lines

  1. #ifndef NO_LIBGXX_MALLOC
  2.  
  3. // This may look like C code, but it is really -*- C++ -*-
  4.  
  5. /* 
  6. Copyright (C) 1989 Free Software Foundation
  7.     written by Doug Lea (dl@oswego.edu)
  8.  
  9. This file is part of the GNU C++ Library.  This library is free
  10. software; you can redistribute it and/or modify it under the terms of
  11. the GNU Library General Public License as published by the Free
  12. Software Foundation; either version 2 of the License, or (at your
  13. option) any later version.  This library is distributed in the hope
  14. that it will be useful, but WITHOUT ANY WARRANTY; without even the
  15. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  16. PURPOSE.  See the GNU Library General Public License for more details.
  17. You should have received a copy of the GNU Library General Public
  18. License along with this library; if not, write to the Free Software
  19. Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21.  
  22. #ifdef __GNUG__
  23. #pragma implementation
  24. #endif
  25. #include <stddef.h>
  26. #include <stdlib.h>
  27.  
  28. void* operator new(size_t n) 
  29. {
  30.   return malloc (n);
  31. }
  32.  
  33.  
  34. #endif
  35.